package com.mew.common.entity.config;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author dylin
 */
@TableName("c_gold_deal")
@Data
@ToString
@NoArgsConstructor
public class GoldDeal {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     *原金币
     */
    @TableField("original_gold")
    private Long originalGold;
    /**
     *现金币
     */
    @TableField("current_gold")
    private Long currentGold;
    /**
     *价格
     */
    @TableField("price")
    private Double price;

}